Mewz\WCAS\Compatibility\Components\WCCartStockReducer S

Total Complexity 48
Dependencies 5
Dependents 2
Total lines 330
Lines of code 177
Logical lines of code 118
Comment lines 43
Methods 17
Properties 6

Methods 17

Method Rating Maintainability Complexity Lines of code
product_attribute_stock_limits()
A
49 9 30
is_expired()
A
53 9 22
attribute_stock_cart_validation_items()
S
57 6 17
all_product_match_data()
S
61 4 12
get_virtual_stock_available()
S
61 4 12
woocommerce_init()
S
53 2 20
get_item_managing_stock()
S
65 2 9
replace_stock_pending_text()
S
65 2 9
get_attribute_stock_virtual_product_stock_quantity()
S
65 2 10
enable_attribute_stock_override()
S
81 1 3
disable_attribute_stock_override()
S
81 1 3
clear_cache()
S
70 1 6
add_cart_item()
S
70 1 6
get_availability_text()
S
70 1 6
get_availability_class()
S
70 1 6
quantity_input_args()
S
82 1 3
product_available_variation()
S
82 1 3